from pymouse import PyMouse
import time
import pyautogui
import cv2
import numpy as np
from matplotlib import pyplot as plt

img = pyautogui.screenshot(region=[1133, 236, 297, 52]) # x,y,w,h
img.save('level.png')

##img = pyautogui.screenshot(region=[951, 294, 275, 64]) # x,y,w,h
##img.save('isEnd1.png')

##img = pyautogui.screenshot(region=[666, 214, 135, 50]) # x,y,w,h
##img.save('apple.png')

##img = pyautogui.screenshot(region=[81, 680, 233, 38]) # x,y,w,h
##img.save('helpCharac\\Sikaha.png')

##time.sleep(4)
##img = pyautogui.screenshot(region=[171, 135, 339, 55]) # x,y,w,h
##img.save('isEnd2.png')

##img = pyautogui.screenshot(region=[112, 268, 347, 69]) # x,y,w,h
##img.save('isEnd.png')
